package com.cdgeekcamp.redas.db.model;

import org.springframework.data.repository.CrudRepository;

import java.util.Optional;

public interface NatureRepository extends CrudRepository<Nature, Integer> {
    Optional<Nature> findByName(String name);
}
